package com.example.jpademo.biz.entity;


import com.example.jpademo.common.baseEntity.BasePO;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;

@Data
@Table(name = "allowances")
public class AllowancePO extends BasePO {

    @Column(name = "name")
    private String name;
    @Column(name = "type")
    private String type;
    @Transient
    private String typeName;

    @Override
    public String toString() {
        return "AllowancePO{" +
                "name='" + name + '\'' +
                ", type='" + type + '\'' +
                ", typeName='" + typeName + '\'' +
                "} " + super.toString();
    }
}